package com.yvan.leto.server.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@TableName("tb_env")
public class Env {

    @TableId
    private String name;
    @TableField
    private String caption;

    public Env(String name, String caption) {
        this.name = name;
        this.caption = caption;
    }

}
